package com.weiaibenpao.demo.chislim.bean;

import java.util.List;

/**
 * Created by wlx on 2017/10/12.
 */

public class MyGameBean {


    /**
     * code : 0
     * msg : 成功
     * data : {"extra":{"totalSize":6,"size":20,"totalPage":1,"page":0},"list":[{"throughTime":"96小时0分","dmessage":"待审核","distance":1536.33,"actId":"1012001","joinNumber":1,"type":8,"userId":39,"sportsEndTime":1507482061000,"result":"","avgDistance":5.23,"number":300,"cityName":"杭州市","areaName":"上城区","createTime":1507776777792,"marathonTitle":"环杭州跑","sportsStartTime":"2017-10-05 01:01","id":22,"provinceName":"浙江省","status":0},{"throughTime":"96小时0分","dmessage":"审核未通过","distance":1536.33,"actId":"1012002","joinNumber":1,"type":8,"userId":43,"sportsEndTime":1507482061000,"result":"","avgDistance":5.23,"number":300,"cityName":"杭州市","areaName":"上城区","createTime":1507776840154,"marathonTitle":"环杭州跑","sportsStartTime":"2017-10-05 01:01","id":23,"provinceName":"浙江省","status":1},{"throughTime":"24小时0分","dmessage":"未报满","distance":1536.33,"actId":"1012003","joinNumber":1,"type":8,"userId":52,"sportsEndTime":1507914061000,"result":"","avgDistance":5.23,"number":300,"cityName":"杭州市","areaName":"上城区","createTime":1507777064875,"marathonTitle":"环杭州跑","sportsStartTime":"2017-10-13 01:01","id":24,"provinceName":"浙江省","status":2},{"throughTime":"24小时0分","dmessage":"已完赛","distance":1536.33,"actId":"1012004","joinNumber":300,"type":8,"userId":70,"sportsEndTime":1507914061000,"result":"","avgDistance":5.23,"number":300,"cityName":"杭州市","areaName":"上城区","createTime":1507777100828,"marathonTitle":"环杭州跑","sportsStartTime":"2017-10-13 01:01","id":25,"provinceName":"浙江省","status":2},{"throughTime":"1小时9分","dmessage":"已完赛","distance":1536.33,"actId":"1012005","joinNumber":300,"type":8,"userId":172,"sportsEndTime":1507898919000,"result":"","avgDistance":5.23,"number":300,"cityName":"杭州市","areaName":"上城区","createTime":1507777181546,"marathonTitle":"环杭州跑","sportsStartTime":"2017-10-13 19:39","id":26,"provinceName":"浙江省","status":2},{"throughTime":"24小时0分","dmessage":"已完赛","distance":1536.33,"actId":"1012006","joinNumber":300,"type":8,"userId":403,"sportsEndTime":1507680061000,"result":"","avgDistance":5.23,"number":300,"cityName":"杭州市","areaName":"上城区","createTime":1507777268970,"marathonTitle":"环杭州跑","sportsStartTime":"2017-10-10 08:01","id":27,"provinceName":"浙江省","status":2}]}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * extra : {"totalSize":6,"size":20,"totalPage":1,"page":0}
         * list : [{"throughTime":"96小时0分","dmessage":"待审核","distance":1536.33,"actId":"1012001","joinNumber":1,"type":8,"userId":39,"sportsEndTime":1507482061000,"result":"","avgDistance":5.23,"number":300,"cityName":"杭州市","areaName":"上城区","createTime":1507776777792,"marathonTitle":"环杭州跑","sportsStartTime":"2017-10-05 01:01","id":22,"provinceName":"浙江省","status":0},{"throughTime":"96小时0分","dmessage":"审核未通过","distance":1536.33,"actId":"1012002","joinNumber":1,"type":8,"userId":43,"sportsEndTime":1507482061000,"result":"","avgDistance":5.23,"number":300,"cityName":"杭州市","areaName":"上城区","createTime":1507776840154,"marathonTitle":"环杭州跑","sportsStartTime":"2017-10-05 01:01","id":23,"provinceName":"浙江省","status":1},{"throughTime":"24小时0分","dmessage":"未报满","distance":1536.33,"actId":"1012003","joinNumber":1,"type":8,"userId":52,"sportsEndTime":1507914061000,"result":"","avgDistance":5.23,"number":300,"cityName":"杭州市","areaName":"上城区","createTime":1507777064875,"marathonTitle":"环杭州跑","sportsStartTime":"2017-10-13 01:01","id":24,"provinceName":"浙江省","status":2},{"throughTime":"24小时0分","dmessage":"已完赛","distance":1536.33,"actId":"1012004","joinNumber":300,"type":8,"userId":70,"sportsEndTime":1507914061000,"result":"","avgDistance":5.23,"number":300,"cityName":"杭州市","areaName":"上城区","createTime":1507777100828,"marathonTitle":"环杭州跑","sportsStartTime":"2017-10-13 01:01","id":25,"provinceName":"浙江省","status":2},{"throughTime":"1小时9分","dmessage":"已完赛","distance":1536.33,"actId":"1012005","joinNumber":300,"type":8,"userId":172,"sportsEndTime":1507898919000,"result":"","avgDistance":5.23,"number":300,"cityName":"杭州市","areaName":"上城区","createTime":1507777181546,"marathonTitle":"环杭州跑","sportsStartTime":"2017-10-13 19:39","id":26,"provinceName":"浙江省","status":2},{"throughTime":"24小时0分","dmessage":"已完赛","distance":1536.33,"actId":"1012006","joinNumber":300,"type":8,"userId":403,"sportsEndTime":1507680061000,"result":"","avgDistance":5.23,"number":300,"cityName":"杭州市","areaName":"上城区","createTime":1507777268970,"marathonTitle":"环杭州跑","sportsStartTime":"2017-10-10 08:01","id":27,"provinceName":"浙江省","status":2}]
         */

        private ExtraBean extra;
        private List<ListBean> list;

        public ExtraBean getExtra() {
            return extra;
        }

        public void setExtra(ExtraBean extra) {
            this.extra = extra;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ExtraBean {
            /**
             * totalSize : 6
             * size : 20
             * totalPage : 1
             * page : 0
             */

            private int totalSize;
            private int size;
            private int totalPage;
            private int page;

            public int getTotalSize() {
                return totalSize;
            }

            public void setTotalSize(int totalSize) {
                this.totalSize = totalSize;
            }

            public int getSize() {
                return size;
            }

            public void setSize(int size) {
                this.size = size;
            }

            public int getTotalPage() {
                return totalPage;
            }

            public void setTotalPage(int totalPage) {
                this.totalPage = totalPage;
            }

            public int getPage() {
                return page;
            }

            public void setPage(int page) {
                this.page = page;
            }
        }

        public static class ListBean {
            /**
             * throughTime : 96小时0分
             * dmessage : 待审核
             * distance : 1536.33
             * actId : 1012001
             * joinNumber : 1
             * type : 8
             * userId : 39
             * sportsEndTime : 1507482061000
             * result :
             * avgDistance : 5.23
             * number : 300
             * cityName : 杭州市
             * areaName : 上城区
             * createTime : 1507776777792
             * marathonTitle : 环杭州跑
             * sportsStartTime : 2017-10-05 01:01
             * id : 22
             * provinceName : 浙江省
             * status : 0
             */

            private String throughTime;
            private String dmessage;
            private double distance;
            private int joinNumber;
            private int type;
            private int userId;
            private long sportsEndTime;
            private String result;
            private double avgDistance;
            private int number;
            private String cityName;
            private String areaName;
            private long createTime;
            private String marathonTitle;
            private String sportsStartTime;
            private int id;
            private String actId;//match供检索和宣传用的的展示id，不是标识身份的id
            private String provinceName;
            private int marathonStatus;

            public String getThroughTime() {
                return throughTime;
            }

            public void setThroughTime(String throughTime) {
                this.throughTime = throughTime;
            }

            public String getDmessage() {
                return dmessage;
            }

            public void setDmessage(String dmessage) {
                this.dmessage = dmessage;
            }

            public double getDistance() {
                return distance;
            }

            public void setDistance(double distance) {
                this.distance = distance;
            }


            public int getJoinNumber() {
                return joinNumber;
            }

            public void setJoinNumber(int joinNumber) {
                this.joinNumber = joinNumber;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }

            public long getSportsEndTime() {
                return sportsEndTime;
            }

            public void setSportsEndTime(long sportsEndTime) {
                this.sportsEndTime = sportsEndTime;
            }

            public String getResult() {
                return result;
            }

            public void setResult(String result) {
                this.result = result;
            }

            public double getAvgDistance() {
                return avgDistance;
            }

            public void setAvgDistance(double avgDistance) {
                this.avgDistance = avgDistance;
            }

            public int getNumber() {
                return number;
            }

            public void setNumber(int number) {
                this.number = number;
            }

            public String getCityName() {
                return cityName;
            }

            public void setCityName(String cityName) {
                this.cityName = cityName;
            }

            public String getAreaName() {
                return areaName;
            }

            public void setAreaName(String areaName) {
                this.areaName = areaName;
            }

            public long getCreateTime() {
                return createTime;
            }

            public void setCreateTime(long createTime) {
                this.createTime = createTime;
            }

            public String getMarathonTitle() {
                return marathonTitle;
            }

            public void setMarathonTitle(String marathonTitle) {
                this.marathonTitle = marathonTitle;
            }

            public String getSportsStartTime() {
                return sportsStartTime;
            }

            public void setSportsStartTime(String sportsStartTime) {
                this.sportsStartTime = sportsStartTime;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getActId() {
                return actId;
            }

            public void setActId(String actId) {
                this.actId = actId;
            }

            public String getProvinceName() {
                return provinceName;
            }

            public void setProvinceName(String provinceName) {
                this.provinceName = provinceName;
            }

            public int getStatus() {
                return marathonStatus;
            }

            public void setStatus(int marathonStatus) {
                this.marathonStatus = marathonStatus;
            }
        }
    }
}
